package com.mv.dao;

import com.mv.entity.Movie;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author Administrator
 */
@Repository
public interface MovieMapper extends Mapper<Movie> {


    /**
     * 根据地区编号和类型编号检索电影
     * @param countryId
     * @param typeId
     * @return
     */
    List<Movie> selectMovieByCountryAndType(@Param("countryId")Integer countryId,@Param("typeId")Integer typeId);



}